﻿<?xml version="1.0" encoding="utf-8" ?>
<GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
  <MainboardDefinitions>
    <!-- This mainboard definition should be filled in.  Mouse over any attribute name to get more help about that attribute. -->
    <MainboardDefinition 
            Name="FEZCerbot" 
            Type="GHIElectronics.Gadgeteer.FEZCerbot"
            HardwareVersion="1.0"
            Image="Resources\Image.jpg"
            BoardWidth="150"
            BoardHeight="90"
            MinimumGadgeteerCoreVersion="2.42.500"
            HelpUrl="https://www.ghielectronics.com/catalog/product/XXX"
            >
      <Power>
        <PowerRequirements Voltage="3.3">
          <TypicalCurrent>0.093</TypicalCurrent>
          <MaximumCurrent>0.110</MaximumCurrent>
        </PowerRequirements>

        <PowerRequirements Voltage="5">
          <TypicalCurrent>0.0</TypicalCurrent>
          <MaximumCurrent>0.0</MaximumCurrent>
        </PowerRequirements>
      </Power>

      <!-- Assemblies listed here are added to the project as references by the designer whenever this module is instantiated.  -->
      <!-- This functionality is used to -->
      <!--   (1) include the output assemblies of this template -->
      <!--   (2) include other custom assemblies that the mainboard relies on (NB you must edit msm.wxs so these are installed too) -->
      <!-- Some examples are provided inline: -->
      
      <Assemblies>
        <!-- This lists the assemblies which provides the API to this mainboard, i.e. the output assemblies of this template. -->
        <!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
        <!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
		<!-- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZCerbot"/>-->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCerbot"/>

		<!-- If your mainboard driver relies on another assembly, then list it here (and see the msm.wxs file since you need to include it in the installer too), e.g.: -->
        <!--
        <Assembly MFVersion="4.1" Name="GHIElectronics.CustomAssembly"/>
        <Assembly MFVersion="4.2" Name="GHIElectronics.CustomAssembly"/>
        -->
      </Assemblies>
      
      <!-- This is a list of sockets provided by this mainboard for modules to be attached to. -->
	  <ProvidedSockets>

			<ProvidedSocket Label="1" Left="42.44" Top="65.80" Orientation="180" ConstructorParameter="1">
				<Types>
					<Type>F</Type>
					<Type>Y</Type>
				</Types>
			</ProvidedSocket>

			<ProvidedSocket Label="2" Left="42.44" Top="50.46" Orientation="180" ConstructorParameter="2">
				<Types>
					<Type>I</Type>
					<Type>X</Type>
				</Types>
				<SharedPinMaps>
					<SharedPinMap NetId="I2CSDA" SocketPin="8" SharedOnly="true"/>
					<SharedPinMap NetId="I2CSCL" SocketPin="9" SharedOnly="true"/>
				</SharedPinMaps>
			</ProvidedSocket>

			<ProvidedSocket Label="3" Left="42.44" Top="34.82" Orientation="180" ConstructorParameter="3">
				<Types>
					<Type>U</Type>
					<Type>S</Type>
					<Type>X</Type>
				</Types>
				<SharedPinMaps>
					<SharedPinMap NetId="SPI1_MOSI" SocketPin="7"/>
					<SharedPinMap NetId="SPI1_MISO" SocketPin="8"/>
				</SharedPinMaps>
			</ProvidedSocket>

			<ProvidedSocket Label="4" Left="109.04" Top="34.82" Orientation="0" ConstructorParameter="4">
				<Types>
					<Type>A</Type>
					<Type>O</Type>
					<Type>I</Type>
					<Type>X</Type>
				</Types>
				<SharedPinMaps>
					<SharedPinMap NetId="I2CSDA" SocketPin="8" SharedOnly="true"/>
					<SharedPinMap NetId="I2CSCL" SocketPin="9" SharedOnly="true"/>
				</SharedPinMaps>
			</ProvidedSocket>

			<ProvidedSocket Label="5" Left="109.04" Top="50.46" Orientation="0" ConstructorParameter="5">
				<Types>
					<Type>U</Type>
					<Type>I</Type>
				</Types>
				<SharedPinMaps>
					<SharedPinMap NetId="I2CSDA" SocketPin="8" SharedOnly="true"/>
					<SharedPinMap NetId="I2CSCL" SocketPin="9" SharedOnly="true"/>
				</SharedPinMaps>
			</ProvidedSocket>

			<ProvidedSocket Label="6" Left="109.04" Top="65.80" Orientation="0" ConstructorParameter="6">
				<Types>
					<Type>P</Type>
				</Types>
			</ProvidedSocket>

		</ProvidedSockets>
      
      <LibrariesProvided>
        <!-- This should be filled in with a list of assemblies provided by the mainboard which are not the standard NETMF assemblies.  Delete the example "CustomMFAssembly" below. -->
        <!-- Providing this list allows the designer to automatically determine when a module that only works with specific mainboards is compatible with the current mainboard. -->
        <!--
        <Assembly MFVersion="4.1" Name="CustomMFAssembly"/>
        <Assembly MFVersion="4.2" Name="CustomMFAssembly"/>
        -->
        
        <!-- The mainboard assembly itself (as listed under <Assemblies> above) should also be listed here, to enable modules representing built-in functionality of a mainboard.-->
        <!-- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZCerbot" />-->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZCerbot" />
		<Assembly MFVersion="4.3" Name="GHIElectronics.Gadgeteer.FEZCerbot" />
	  </LibrariesProvided>
      
    </MainboardDefinition>
  </MainboardDefinitions>
</GadgeteerDefinitions>